package com.arrogames.rgblabyrinth.game.ui {
	import starling.display.Quad;
	import starling.display.Sprite;
	import starling.extensions.lighting.core.LightLayer;
	
	public class GamePanel extends Sprite {
		
		private var _lightLayer:LightLayer;
		private var _gameContent:Sprite;
		private var _playerContent:Sprite;
		
		public function GamePanel(width:int, height:int, color:uint) {
			super();
			
			_gameContent = new Sprite();
			_lightLayer = new LightLayer(width, height, color, 0.1);
			_playerContent = new Sprite();
			
			addChild(new Quad(width,height, color));
			addChild(_gameContent);
			addChild(_lightLayer);
			addChild(_playerContent);
		}


		public function get lightLayer():LightLayer {
			return _lightLayer;
		}

		public function get gameContent():Sprite {
			return _gameContent;
		}

		public function get playerContent():Sprite {
			return _playerContent;
		}


	}
}